
#ifndef __REAL_ALPC_H__
#define __REAL_ALPC_H__

#include "../HookNtdll.h"
#include "../../include/lpcds_def.h"

HANDLE REAL_AlpcCreatePort(LPCWSTR strName);
HANDLE REAL_AlpcConnectPort(LPCWSTR strName);
HANDLE REAL_AlpcAcceptPort(HANDLE hServer, ULONG uMessageId);
VOID REAL_AlpcClose(HANDLE hPort);
BOOL REAL_AlpcSendWaitReceive(HANDLE hPort, PLPC_MESSAGE pSendData,
    PLPC_MESSAGE pRecvData, DWORD* pdwRecvSize, DWORD dwTimeOut);

BOOL REAL_AlpcClientSendReceive(LPCWSTR strName, PLPC_MESSAGE pSendData,
    PLPC_MESSAGE pRecvData, DWORD* pdwRecvSize, DWORD dwTimeOut);

#endif